const users = require("../sql/users");
const sql = require('../sql/mysql')
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
    sql.get(users,{_id:req.fields._id}).then(data=>{
       res.send({
          code:0,
          msg:"搜索成功",
          data,
       })
    })
 }